package com.quickstart.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @author:wesley
 */
@Controller
@RequestMapping(value = "/web/admin")
public class AdminWebController {

    @RequestMapping(value = "/list")
    public String toList(HttpServletRequest request, String menuId){
        request.setAttribute("menuId",menuId);
        return "admin/list";
    }


}
